package com.ssy.lingxi.order.api.model.vo.request;

import com.ssy.lingxi.common.constant.order.OrderPurchaseProcessTypeEnum;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 查询采购流程配置接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-25
 */
public class OrderPurchaseProcessFeignVO implements Serializable {
    private static final long serialVersionUID = -6541212146732802289L;

    /**
     * 会员Id
     */
    @NotNull(message = "会员Id要大于等于0")
    @Positive(message = "会员Id要大于等于0")
    private Long memberId;

    /**
     * 会员角色Id
     */
    @NotNull(message = "会员角色Id要大于等于0")
    @Positive(message = "会员角色Id要大于等于0")
    private Long roleId;

    /**
     * 采购流程类型枚举
     */
    @NotNull(message = "采购流程类型枚举不能为空")
    private OrderPurchaseProcessTypeEnum processTypeEnum;

    /**
     * 合同Id列表
     */
    private List<Long> contractIds;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public OrderPurchaseProcessTypeEnum getProcessTypeEnum() {
        return processTypeEnum;
    }

    public void setProcessTypeEnum(OrderPurchaseProcessTypeEnum processTypeEnum) {
        this.processTypeEnum = processTypeEnum;
    }

    public List<Long> getContractIds() {
        return contractIds;
    }

    public void setContractIds(List<Long> contractIds) {
        this.contractIds = contractIds;
    }
}
